<?php
/**
 * Created by PhpStorm.
 * User: XD
 * Date: 2017/10/20
 * Time: 16:11
 */
namespace App\Http\Controllers\Email;


use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;


class TestEmailController extends Controller
{


    public function ship(Request $request)
    {
        Mail::to($request->user())->send("something or class");

        Mail::to($request->user())
        ->cc("")  //$moreUsers
        ->bcc("")   //$evenMoreUsers
        ->send("");   //new OrderShipped($order)
    }

}